/* 首页样式 */

.home-page {
  padding: 20px;
  max-width: 1200px;
  margin: 0 auto;
}

.welcome-content {
  background: #ffffff;
  border-radius: 12px;
  padding: 32px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.welcome-content h2 {
  color: #1f2937;
  font-size: 28px;
  font-weight: bold;
  margin: 0 0 12px 0;
  text-align: center;
}

.welcome-content > p {
  color: #6b7280;
  font-size: 16px;
  text-align: center;
  margin: 0 0 32px 0;
}

.user-details {
  margin-bottom: 32px;
  padding: 24px;
  background: #f9fafb;
  border-radius: 8px;
  border: 1px solid #e5e7eb;
}

.user-details h3 {
  color: #374151;
  font-size: 18px;
  font-weight: 600;
  margin: 0 0 16px 0;
}

.user-info-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 12px;
}

.user-info-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 16px;
  background: #ffffff;
  border-radius: 6px;
  border: 1px solid #e5e7eb;
}

.user-info-item .label {
  color: #6b7280;
  font-weight: 500;
  font-size: 14px;
}

.user-info-item .value {
  color: #1f2937;
  font-weight: 600;
  font-size: 14px;
}

.user-info-item .value.status.active {
  color: #059669;
  background: #ecfdf5;
  padding: 4px 8px;
  border-radius: 4px;
  font-size: 12px;
}

.user-info-item .value.status.inactive {
  color: #dc2626;
  background: #fef2f2;
  padding: 4px 8px;
  border-radius: 4px;
  font-size: 12px;
}

.quick-actions {
  padding: 24px;
  background: #f9fafb;
  border-radius: 8px;
  border: 1px solid #e5e7eb;
}

.quick-actions h3 {
  color: #374151;
  font-size: 18px;
  font-weight: 600;
  margin: 0 0 16px 0;
}

.action-buttons {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 16px;
}

.action-button {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 20px;
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  text-decoration: none;
  transition: all 0.2s ease;
  cursor: pointer;
}

.action-button:hover {
  background: #f8fafc;
  border-color: #3b82f6;
  box-shadow: 0 4px 12px rgba(59, 130, 246, 0.1);
  transform: translateY(-1px);
}

.action-icon {
  font-size: 32px;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #eff6ff;
  border-radius: 8px;
  color: #3b82f6;
}

.action-text {
  flex: 1;
}

.action-title {
  color: #1f2937;
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 4px;
}

.action-desc {
  color: #6b7280;
  font-size: 14px;
  line-height: 1.4;
}

/* 响应式设计 */
@media (max-width: 768px) {
  .home-page {
    padding: 16px;
  }
  
  .welcome-content {
    padding: 24px;
  }
  
  .welcome-content h2 {
    font-size: 24px;
  }
  
  .user-info-grid {
    grid-template-columns: 1fr;
  }
  
  .action-buttons {
    grid-template-columns: 1fr;
  }
  
  .action-button {
    padding: 16px;
  }
  
  .action-icon {
    font-size: 24px;
    width: 40px;
    height: 40px;
  }
}